package ar.com.ford.it.fullEconomics.persistence.dto;

import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import com.ford.it.persistence.PersistenceHelper;
import com.ford.it.persistence.PersistenceIndirection;

/**
 *  ###  Generado por Oracle TopLink Workbench 10.1.3.1.0 - Fri Oct 02 07:39:16 ACT 2009.  ###
 */

public class Teesc05Itemcatgry {

	/** Lazy-Load attribute */
    private PersistenceIndirection eesc05PlantCodeC = PersistenceHelper
            .newIndirection(null);
	
	private Timestamp eesc05CreateS;
	private String eesc05CreateUserC;
	private String eesc05ItemcatgryNameN;
	private Integer eesc05ItemcatgryNumberK;
	private Timestamp eesc05LastUpdtS;
	private String eesc05LastUpdtUserC;
	
	private List<Teesc06Item> teesc06ItemCollection;

public Teesc05Itemcatgry() {
	super();
	this.teesc06ItemCollection = new ArrayList<Teesc06Item>();
}

public void addToTeesc06ItemCollection(Teesc06Item aTeesc06Item) {
	this.teesc06ItemCollection.add(aTeesc06Item);
	aTeesc06Item.setTeesc05Itemcatgry(this);
}

public Timestamp getEesc05CreateS() {
	return this.eesc05CreateS;
}

public String getEesc05CreateUserC() {
	return this.eesc05CreateUserC;
}

public String getEesc05ItemcatgryNameN() {
	return this.eesc05ItemcatgryNameN;
}

public Integer getEesc05ItemcatgryNumberK() {
	return this.eesc05ItemcatgryNumberK;
}

public Timestamp getEesc05LastUpdtS() {
	return this.eesc05LastUpdtS;
}

public String getEesc05LastUpdtUserC() {
	return this.eesc05LastUpdtUserC;
}

public Teesg01Plant getEesc05PlantCodeC() {
	return (Teesg01Plant) this.eesc05PlantCodeC.getValue();
}

public String getEesc05PlantCodeC2() {
	// Rellene el cuerpo del m\u00E9todo aqu\u00ED.
	return null;
}

protected Teesg01Plant getEesc05PlantCodeCHolder() {
	return (Teesg01Plant) this.eesc05PlantCodeC.getValue();
}

public List getTeesc06ItemCollection() {
    return this.teesc06ItemCollection;
}

public void removeFromTeesc06ItemCollection(Teesc06Item aTeesc06Item) {
	this.teesc06ItemCollection.remove(aTeesc06Item);
	aTeesc06Item.setTeesc05Itemcatgry(null);
}

public void setEesc05CreateS(Timestamp eesc05CreateS) {
	this.eesc05CreateS = eesc05CreateS;
}

public void setEesc05CreateUserC(String eesc05CreateUserC) {
	this.eesc05CreateUserC = eesc05CreateUserC;
}

public void setEesc05ItemcatgryNameN(String eesc05ItemcatgryNameN) {
	this.eesc05ItemcatgryNameN = eesc05ItemcatgryNameN;
}

public void setEesc05ItemcatgryNumberK(Integer eesc05ItemcatgryNumberK) {
	this.eesc05ItemcatgryNumberK = eesc05ItemcatgryNumberK;
}

public void setEesc05LastUpdtS(Timestamp eesc05LastUpdtS) {
	this.eesc05LastUpdtS = eesc05LastUpdtS;
}

public void setEesc05LastUpdtUserC(String eesc05LastUpdtUserC) {
	this.eesc05LastUpdtUserC = eesc05LastUpdtUserC;
}

public void setEesc05PlantCodeC(Teesg01Plant aTeesg01Plant) {
	this.eesc05PlantCodeC.setValue(aTeesg01Plant);
}

public void setEesc05PlantCodeC2(String aString) {
	// Rellene el cuerpo del m\u00E9todo aqu\u00ED.
}

protected void setEesc05PlantCodeCHolder(Teesg01Plant eesc05PlantCodeC) {
	this.eesc05PlantCodeC.setValue(eesc05PlantCodeC);
}

public void setTeesc06ItemCollection(List<Teesc06Item> items) {
    this.teesc06ItemCollection = items;
}

public void addTeesc06ItemCollection(Teesc06Item item) {
    this.teesc06ItemCollection.add(item);
}


}
